What's new on CPAN - January 2015

Welcome to “What’s new on CPAN”, a curated look at last month’s new CPAN uploads for your reading and programming pleasure. This year we’re running a new feature: “module of the month”, where we highlight our favorite new CPAN upload. Enjoy!

Module of the month

FFI::Platypus enables Perl to call foreign language functions (e.g. Python, C, Rust) using libffi. Unlike using XS, no knowledge of C is required. The module not only works great but has comprehensive documentation and is under active development.

Module author Graham Ollis has also blogged about it. FFI::Platypus is hosted on GitHub, check it out!

APIs & Apps

Config & DevOps

Data

  • HTML::Differences provides “reasonably sane” HTML diffs
  • Compare database structures using DBIx::Diff::Schema
  • Data::Fake is a data generator module with a functional interface
  • Read and update complex data structures easily using Data::Focus
  • Phash::FFI is an interface for an external library that hashes media files to test for similarity

Development and Interop

  • FFI::Me is provides some sugar over FFI::Raw that lets you call foreign language (e.g. C, Python, Ruby) library functions
  • Generate a simple-but-sensible module readme with Dist::Zilla::Plugin::Readme::Brief
  • Object::Properties is another class library, similar to Object::Tiny with some additional features
  • ARGV::Struct parses complex command line arguments

Testing & Debugging

Web


This article was originally posted on PerlTricks.com.

Tags

David Farrell

David is a professional programmer who regularly tweets and blogs about code and the art of programming.

Browse their articles

Feedback

Something wrong with this article? Help us out by opening an issue or pull request on GitHub